//
//  WDWorkOrderSearchMarketView.h
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/19.
//

#import "TYZBaseView.h"

NS_ASSUME_NONNULL_BEGIN

#define kWDWorkOrderSearchMarketViewHeight (30)

#define kWDWorkOrderSearchMarketViewMinHeight (22 + 11 + kWDWorkOrderSearchMarketViewHeight + 3)

/// 标签
@interface WDWorkOrderSearchMarketView : TYZBaseView

/// 隐藏清空按钮
@property (nonatomic, assign) BOOL hiddenClearBtn;

/// 清空
@property (nonatomic, copy) void(^touchClearMarketBlock)(void);

@property (nonatomic, copy) void(^touchMarketBlock)(NSString *typeTitle, NSString *title, NSInteger index);

- (instancetype)initWithFrame:(CGRect)frame title:(NSString *)title;


- (void)updateWithViewData:(id)data completion:(void(^)(float height))completion;

@end

NS_ASSUME_NONNULL_END
